<template lang=pug>
    div info
        v-footer
</template>

<script type="es6">
    import vFooter from '../common/footer/footer.vue'

    export default {
        name: 'info',
        data () {
            return {

            }
        },
        mounted(){
            this.$http.get('/user/getInfo').then((response)=>{
                console.log(response)
                this.$store.commit('updateUserInfo',response.data.data)
            })
        },
        components: {
            vFooter
        },
        methods:{

        }

    }
</script>

<style lang="stylus">
</style>
